﻿@model WeBlog.Models.Page

<div class="page">
	<h1 class="title">@Model.Title</h1>	
	<div class="entry">@Html.Raw(Model.Content)</div>		   
	<div class="meta">		
		@if ( User.IsAdmin()) { 
			@Html.ActionLink(Strings.Edit, "Edit", new { id = Model.PageId} )<span> | </span>
		}  
		@Strings.Post_PublishDate @Html.DisplayFor(x => Model.PublishDate)<span> | </span>
		@Strings.Post_Author @Html.ActionLink(Model.Author.FullName, "Profile", new { controller = "Account", id = Model.AuthorId }) 		
	</div> 
</div>
